Optimal. Leaf size=21 \[ \frac {2 F\left (\left .\sin ^{-1}\left (\sqrt {a} \sqrt {x}\right )\right |-1\right )}{\sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {335, 227}
\begin {gather*} \frac {2 F\left (\left .\text {ArcSin}\left (\sqrt {a} \sqrt {x}\right )\right |-1\right )}{\sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 227
Rule 335
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {x} \sqrt {1-a^2 x^2}} \, dx &=2 \text {Subst}\left (\int \frac {1}{\sqrt {1-a^2 x^4}} \, dx,x,\sqrt {x}\right )\\ &=\frac {2 F\left (\left .\sin ^{-1}\left (\sqrt {a} \sqrt {x}\right )\right |-1\right )}{\sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.02, size = 24, normalized size = 1.14 \begin {gather*} 2 \sqrt {x} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};a^2 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(65\) vs.
\(2(15)=30\).
time = 0.12, size = 66, normalized size = 3.14
method | result | size |
meijerg | \(2 \sqrt {x}\, \hypergeom \left (\left [\frac {1}{4}, \frac {1}{2}\right ], \left [\frac {5}{4}\right ], a^{2} x^{2}\right )\) | \(19\) |
default | \(-\frac {\sqrt {-a^{2} x^{2}+1}\, \sqrt {a x +1}\, \sqrt {-2 a x +2}\, \sqrt {-a x}\, \EllipticF \left (\sqrt {a x +1}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x}\, a \left (a^{2} x^{2}-1\right )}\) | \(66\) |
elliptic | \(\frac {\sqrt {-x \left (a^{2} x^{2}-1\right )}\, \sqrt {a \left (x +\frac {1}{a}\right )}\, \sqrt {-2 a \left (x -\frac {1}{a}\right )}\, \sqrt {-a x}\, \EllipticF \left (\sqrt {a \left (x +\frac {1}{a}\right )}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x}\, \sqrt {-a^{2} x^{2}+1}\, a \sqrt {-a^{2} x^{3}+x}}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 36 vs. \(2 (17) = 34\).
time = 0.39, size = 36, normalized size = 1.71 \begin {gather*} \frac {\sqrt {x} \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{4}, \frac {1}{2} \\ \frac {5}{4} \end {matrix}\middle | {a^{2} x^{2} e^{2 i \pi }} \right )}}{2 \Gamma \left (\frac {5}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.05 \begin {gather*} \int \frac {1}{\sqrt {x}\,\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________